#ifndef _CONVER_H_
#define _CONVER_H_



#include <stdio.h>
#include <stdint.h>
#include "Image.h"


enum ConverCfg
{
    Conver_8Bit = 0,
    Conver_16Bit,
    Conver_16Bit_Swap,
    Conver_32Bit,
    Conver_All,

    Conver_Alpha = 0x40000000,
    Conver_ChormaKey = 0x80000000,
};

enum ConverFile
{
    Conver_C_File,
    Conver_Bin_File,
};

void ConverToFile(FILE *file, uint8_t *imgBuf, Image::ImageInfo &info, uint32_t cfg, ConverFile cf);


#endif
